package com.newworld.basketballfire.main.dao;

import com.newworld.basketballfire.main.dao.mapper.DemoMapper;
import com.newworld.basketballfire.service.model.DemoInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by George on 2018/12/23.
 * DemoDao
 */
@Component
public class DemoDao {
    @Autowired
    private DemoMapper demoMapper;

    public DemoInfo getDemoInfo() {
        return demoMapper.getDemoInfo();
    }
}
